import 'package:get/get.dart';
import 'package:latlong2/latlong.dart';
import 'package:situation/data/enum/map_tool_enum.dart';
import 'package:situation/domain/db/user_latlon_domain.dart';

class HomeIndexState {
  HomeIndexState() {
    ///Initialize variables
  }

  var _latlon = LatLng(38.731402, 112.711059).obs;
  LatLng  get latlon => _latlon.value;
  set latlon(LatLng value) => _latlon.value = value;



  var _toolEvent = MapToolEventEnum.none.obs;
  MapToolEventEnum get toolEvent => _toolEvent.value;
  set toolEvent(MapToolEventEnum value) => _toolEvent.value = value;


  var _aroundPoints = [].obs;
  List get aroundPoints => _aroundPoints.value;
  set aroundPoints(List value) => _aroundPoints.value = value;



  var _mapType = "yxt".obs;
  String get mapType => _mapType.value;
  set mapType(String value) => _mapType.value = value;


  var _myMarkList = <UserLatlonDomain>[].obs;
  List<UserLatlonDomain> get myMarkList => _myMarkList.value;
  set myMarkList(List<UserLatlonDomain> value) => _myMarkList.value = value;

  var _checkedIds = <int>[].obs;
  List<int> get checkedIds => _checkedIds.value;
  set checkedIds(List<int> value) => _checkedIds.value = value;
}
